package com.example.demo.component;

import org.springframework.stereotype.Component;


@Component  //组件存储
public class UserComponent {
    public void sayHi(){
        System.out.println("Hi, UserComponent");
    }

}
